<template>
  <div>
    <h1>同一个过滤器处理{{ num }}粉丝数量</h1>
    <p>国内粉丝价格：{{num | tenThousand(10000)}}</p>
    <p>国外粉丝价格：{{num | tenThousand(1000)}}</p>
  </div>
</template>

<script>
export default {
  data () {
    return {
      num: 1876986
    }
  },
  filters: {
    tenThousand (val, divisor) {
      return val / divisor
    }
  },
  created () {

  },

  methods: {

  }
}
</script>

<style scoped lang='less'>

</style>
